package io.renren.modules.employment.dao;

import java.util.List;
import java.util.Map;

import io.renren.modules.employment.entity.*;
import io.renren.modules.sys.dto.PostionDto;

public interface PostionDao {

	List<CompanyAndPostion> getAllPostion();

	Position selectById(String id);

	Company getCompanyByPostion2(Postion2 postion);

	List<CompanyAndPostion> getPostionNotIncludeThisPostionByCompany(PostionDto postion);

    List<Postion2> getPostionByLike(String postionTitle);

	List getFirstPost(Map map);

	List getSecondPost(Map map);

	void insertUserPosts(Map map);

	PostUser getUserPosts(Long userId);

	PostAndIndustry2 getUserPostById(int postId);

	void updateUserPosts(Map map);
}
